package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbHardware;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

@Mapper
public interface TbHardwareDao {
    public ArrayList<HashMap> searchAllHardware();
    public int addHardware(HashMap hashMap);
    public int addHardwareMore(ArrayList<TbHardware> hashMaps);
    public int updateHardware(HashMap hashMap);
    public int deleteByIds(Integer[] ids);
    public ArrayList<HashMap> searchByModelAndStatus(HashMap hashMap);
    public long searchHardCount(HashMap hashMap);
    public long searchHCount(HashMap hashMap);
}